package org.jeecg.modules.xmss.vo;

import java.util.List;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Transient;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Description: 选民意见建议表
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@ApiModel(value="xmss_ideaPage对象", description="选民意见建议表")
public class XmssIdeaPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	@ApiModelProperty(value = "姓名")
	@Length(min= 2, max=20 ,message = "姓名2到20个字符")
	private java.lang.String name;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
	@ApiModelProperty(value = "手机号码")
	@Length(min= 11, max=11 ,message = "手机号码11个字符")
	private java.lang.String mobile;
	/**意见建议*/
	@Excel(name = "意见建议", width = 15)
	@ApiModelProperty(value = "意见建议")
	@NotNull(message = "意见建议不能为空")
	@Length(min= 5, max=255 ,message = "意见建议5到255个字符")
	private java.lang.String idea;
	/**图片或者视频路径*/
	@Excel(name = "图片或者视频路径", width = 15)
	@ApiModelProperty(value = "图片或者视频路径")
	private java.lang.String url;
	/**1图片   2视频*/
	@ApiModelProperty(value = "1图片   2视频")
	private java.lang.String type;
	/**小程序状态 1.待处理  2.处理中 3.已处理  4已评价*/
	@ApiModelProperty(value = "小程序状态 1.待处理  2.处理中 3.已处理  4已评价")
	private java.lang.Integer appState;
	/**0未读  已读   点击详情就已读*/
	@ApiModelProperty(value = "0未读  已读   点击详情就已读")
	private java.lang.Integer isRead;
	/**乡镇id*/
	@ApiModelProperty(value = "乡镇id")
	private java.lang.String townsId;
	/**微信openId*/
	@ApiModelProperty(value = "微信openId--个人标识")
	private java.lang.String openId;
	/**微信openId*/
	@ApiModelProperty(value = "微信openId--公众号标识")
	private java.lang.String publicOpenId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;

	/**分配*/
	@ApiModelProperty(value = "1、未分配 2、已分配 ")
	private java.lang.String allot;

	/**编号*/
	@Transient
	@ApiModelProperty(value = "编号")
	private transient java.lang.String serialNumber;

	@Excel(name = "是否已读", width = 15)
	@ApiModelProperty(value = "")
	@Transient
	private transient java.lang.String isReadRoLead;

	@Excel(name = "事件状态", width = 15)
	@ApiModelProperty(value = "事件状态 ")
	@Transient
	private transient java.lang.String  appStateRoLead;

	/**回复的内容图片*/
	@Excel(name = "回复的图片", width = 15,type = 2)
	@ApiModelProperty(value = "回复的图片/视频")
	private java.lang.String answerUrl;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	@Excel(name = "创建时间", width = 15)
	private java.lang.String createTimeRoLead;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "完成时间")
	@Excel(name = "完成时间", width = 15)
	private java.lang.String updateTimeRoLead;

	/**督办人*/
	@Excel(name = "督办人", width = 15)
	@ApiModelProperty(value = "督办人")
	private java.lang.String supervisionName;

	/**回复的内容*/
	@Excel(name = "回复的内容", width = 15)
	@ApiModelProperty(value = "回复的内容")
	private java.lang.String answer;

	/**督办的星级评价  1一星 2二星 3三星 4四星 5五星*/
	@Transient
	@ApiModelProperty(value = "督办的星级评价  1一星 2二星 3三星 4四星 5五星")
	private  java.lang.Integer starDb;

    /**回复时间*/
    @Excel(name = "回复时间 ", width = 15)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "回复时间")
    private java.util.Date answerTime;
	/**意见类型*/
	@ApiModelProperty(value = "意见类型")
	private java.lang.Integer ideaType;
	/**经度（纵坐标）*/
	@ApiModelProperty(value = "经度（纵坐标）")
	private java.lang.String longitude;
	/**纬度（横坐标）*/
	@ApiModelProperty(value = "纬度（横坐标）")
	private java.lang.String latitude;
	/**事件发生的地址*/
	@ApiModelProperty(value = "事件发生的地址")
	private java.lang.String address;
	/**交办人姓名*/
	@Transient
	@ApiModelProperty(value = "交办人姓名")
	@Excel(name = "交办人姓名", width = 15)
	private transient java.lang.String assignName;

}
